package com.ldzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Getter
@Setter
@TableName("t_housing")
@Accessors(chain = true)
public class Housing implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("phone")
    private  String phone;
    @TableField("householder")
    private  String householder;
    @TableField("identity_card")
    private  String identityCard;
    @TableField("house_number")
    private  String houseNumber;
    @TableField("live")
    private  String live;
    @TableField("water")
    private  Double water;
    @TableField("power")
    private  Double power;

}
